package org.insia.smartposse.idao;

import java.util.List;

import org.insia.smartposse.metier.Freelance;
import org.insia.smartposse.metier.FreelanceSkill;
import org.insia.smartposse.metier.webservice.LightFreelanceSkill;
/**
 * Interface IFreelanceSkillDAO
 * @author sok hout
 *
 */
public interface IFreelanceSkillDAO 
extends IGenericDAO<FreelanceSkill, Long> {
	/**
	 * Get a list of Freelance having a skill
	 * @param skill_id
	 * @return
	 */
	List<Freelance> getFreelanceFromSkill(long skill_id);
	/**
	 * create light FreelanceSkill
	 * @param lskill
	 * @return
	 */
	LightFreelanceSkill createLightFreelanceSkill(LightFreelanceSkill lskill);
	/**
	 * update light FreelanceSkill
	 * @param lskill
	 * @return
	 */
	LightFreelanceSkill updateLightFreelanceSkill(LightFreelanceSkill lskill);
	/**
	 * create light FreelanceSkill
	 * @param llfskill
	 * @return
	 */
	List<LightFreelanceSkill> createLightFreelanceSkill(List<LightFreelanceSkill> llfskill);
	/**
	 * update light FreelanceSkill
	 * @param llfskill
	 * @return
	 */
	List<LightFreelanceSkill> updateLightFreelanceSkill(List<LightFreelanceSkill> llfskill);
}
